package com.jucai.pppeiyouclient.view.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.jucai.pppeiyouclient.MainActivity;
import com.jucai.pppeiyouclient.R;
import com.jucai.pppeiyouclient.base.BaseActivity;
import com.jucai.pppeiyouclient.utils.ActivityCollector;

public class AuthenticateDetailActivity extends BaseActivity {
    private TextView auth_detail_tv;

    @Override
    protected void initView(Bundle savedInstanceState) {
        setContentView(R.layout.activity_authenticate_detail);
        ((TextView) findViewById(R.id.common_title_text)).setText("认证说明");

        auth_detail_tv=(TextView)findViewById(R.id.auth_detail_tv);
        auth_detail_tv.setText("认证说明");
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void loadNetData() {

    }

    @Override
    protected void setListener() {
        findViewById(R.id.common_back).setOnClickListener(this);
        findViewById(R.id.common_home_back).setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.common_back:
                ActivityCollector.removeActivity(this);
                break;

            case R.id.common_home_back:
                startActivity(new Intent(AuthenticateDetailActivity.this, MainActivity.class));
                ActivityCollector.removeActivity(this);
                break;
        }
    }
}
